from rest_framework import serializers

from goods.models import GoodsCourse



class GoodsSerializer(serializers.ModelSerializer):
    class Meta:
        model = GoodsCourse

        fields = '__all__'  # 所有字段

